home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
qbprog.EXE
/
DERECE.BAS
< prev
next >
Wrap
BASIC Source File
|
1995-05-12
|
482b
|
13 lines
10 'SANTÿGRANTI FAHRENHAYTA,FAHRENHAYTI SANTÿGRATA ÇEVÿREN PROGRAM
20 CLS:' DERECE.BAS
30 PRINT "DERECEYI GIRIN "
40 D$=INPUT$(1):
50 D=VAL(D$):AS=ASC(D$)
60 IF D<>0 OR AS=48 OR D$="." THEN 90
70 IF D$="F" OR D$="C" THEN 100
80 SOUND 3000,3:GOTO 40
90 PRINT D$; : DE$=DE$+D$
100 IF D$="F" THEN DE=VAL(DE$):C=((DE-32)/9)*5:CLS:PRINT DE$;" °F =";C;" °C":END
110 IF D$="C" THEN DE=VAL(DE$):F=(DE/5)*9+32:CLS: PRINT DE$;" °C =";F;" °F":END
120 GOTO 40: ' MURAT NECÿOªLU